package com.jml.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

import java.util.HashMap;
import java.util.Map;

@EnableConfigurationProperties(value = {JmlFeignConfig.class})
@ConfigurationProperties(prefix = "jml.cloud.feign")
public class JmlFeignConfig {

    /**
     * "com.jml.memeber.api.service": "jml-member"
     * key是com.jml.memeber.api.service
     * value是jml-member
     */
    private Map<String, String> feignService = new HashMap<>();

    public Map<String, String> getFeignService() {
        return feignService;
    }

    public void setFeignService(Map<String, String> feignService) {
        this.feignService = feignService;
    }

}
